package com.example.leetcode.bit;

import com.example.leetcode.bit.common.BitUtils;

class Solution190 {
    // you need treat n as an unsigned value
    public int reverseBits(int n) {
        return BitUtils.reverseBits(n);
    }
}

public class leetcode190 {
    public static void main(String[] args) {
        Solution190 solution190 = new Solution190();
        System.out.println(solution190.reverseBits(0b00000010100101000001111010011100));
        System.out.println(solution190.reverseBits(0b11111111111111111111111111111101));
    }
}
